package cn.xo68.boot.auth.core.common;

/**
 * 认证过滤器枚举
 * @author wuxie
 * @date 2018-8-7
 */
public enum AuthFilterEnums {
    /**
     * 匿名认证，不认证
     */
    OAUTH2ANON("oauth2Anon"),
    /**
     * oauth2 令牌认证
     */
    OAUTH2TOKEN("oauth2Token");

    private final String name;

    AuthFilterEnums(String name) {
        this.name = name;
    }

    public String getName(){
        return this.name;
    }

    @Override
    public String toString() {
        return this.name;
    }
}
